package com.zhonghui.common.eshopVo;

import java.util.List;

public class CombinationQueryVo {
    private List<StoreCombinationQueryVo> storeCombinationQueryVos;
    private Long lastPage;

    public CombinationQueryVo() {
    }

    public List<StoreCombinationQueryVo> getStoreCombinationQueryVos() {
        return this.storeCombinationQueryVos;
    }

    public Long getLastPage() {
        return this.lastPage;
    }

    public void setStoreCombinationQueryVos(final List<StoreCombinationQueryVo> storeCombinationQueryVos) {
        this.storeCombinationQueryVos = storeCombinationQueryVos;
    }

    public void setLastPage(final Long lastPage) {
        this.lastPage = lastPage;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof CombinationQueryVo)) {
            return false;
        } else {
            CombinationQueryVo other = (CombinationQueryVo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$lastPage = this.getLastPage();
                Object other$lastPage = other.getLastPage();
                if (this$lastPage == null) {
                    if (other$lastPage != null) {
                        return false;
                    }
                } else if (!this$lastPage.equals(other$lastPage)) {
                    return false;
                }

                Object this$storeCombinationQueryVos = this.getStoreCombinationQueryVos();
                Object other$storeCombinationQueryVos = other.getStoreCombinationQueryVos();
                if (this$storeCombinationQueryVos == null) {
                    if (other$storeCombinationQueryVos != null) {
                        return false;
                    }
                } else if (!this$storeCombinationQueryVos.equals(other$storeCombinationQueryVos)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof CombinationQueryVo;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $lastPage = this.getLastPage();
        result = result * 59 + ($lastPage == null ? 43 : $lastPage.hashCode());
        Object $storeCombinationQueryVos = this.getStoreCombinationQueryVos();
        result = result * 59 + ($storeCombinationQueryVos == null ? 43 : $storeCombinationQueryVos.hashCode());
        return result;
    }

    public String toString() {
        return "CombinationQueryVo(storeCombinationQueryVos=" + this.getStoreCombinationQueryVos() + ", lastPage=" + this.getLastPage() + ")";
    }
}
